
#ifndef _PROTOCOL_H_
#define _PROTOCOL_H_


#define 	CMD_CS_PING 				0x0201
#define 	CMD_CS_CONNECT				0x0202
#define 	CMD_SC_CONNECT				0x0203
#define 	CMD_CS_RECONNECT			0x0204
#define 	CMD_SC_RECONNECT			0x0205
#define CMD_CS_REQ_SERVER_ADDR			0x0206
#define CMD_SC_REQ_SERVER_ADDR			0x0207

#define CMD_CS_EXCEPTION_MESSAGE	0x0210
#define CMD_SC_EXCEPTION_MESSAGE	0x0211

#define CMD_CS_REQ_REMOTE_CONTROL		0x0214
#define CMD_SC_RES_REMOTE_CONTROL		0x0215

#define CMD_SN_SERVER_MESSAGE			0x0217

#define CMD_CS_REQ_PHYSICAL_CHANGE		0x0218
#define CMD_SC_RES_PHYSICAL_CHANGE		0x0219

#define CMD_SC_RES_PHYSICAL_CHANGE_CLEANUP_COMPLETE		0x021A

// 중복 로그인 처리
#define CMD_CS_DUP_LOGIN				0x9001
/////////////////////////////////////////////////////////////////////////

#define 	CMD_CS_INPUTINFO 				0x0301		// CS_REQ_ENTER_MY_INFO
#define 	CMD_SC_INPUTINFO 				0x0302		// SC_REQ_ENTER_MY_INFO
//#define 	CMD_SN_ENTER_USERINFO 		0x0303
//#define 	CMD_SN_UPDATE_USERINFO	 	0x0304
#define 	CMD_SN_OUT_USERINFO		 	0x0305
#define 	CMD_CS_CREATE_SLAVE		 	0x0306
#define 	CMD_SC_CREATE_SLAVE		 	0x0307
#define		CMD_CS_REQ_MY_LEVEL_EXP		0x030A
#define		CMD_SC_REQ_MY_LEVEL_EXP		0x030B
#define 	CMD_CS_REQ_COSTUME_INFO 	0x030C
#define 	CMD_SC_REQ_COSTUME_INFO		0x030D
#define		CMD_CS_REQ_COSTUME_INFO_BY_ID 	0x030E

#define 	CMD_CS_DUNGEON_CLEAR_LIST			0x0310
#define 	CMD_SC_DUNGEON_CLEAR_LIST			0x0311
#define		CMD_CS_REQ_WEATHER_INFO				0x0312
#define		CMD_SC_REQ_WEATHER_INFO				0x0313
#define		CMD_CS_REQ_FISHING_SUCCESS			0x0314
#define		CMD_SC_REQ_FISHING_SUCCESS			0x0315
#define		CMD_CS_DUNGEON_CLEAR_LIST_V2		0x0316
#define		CMD_SC_DUNGEON_CLEAR_LIST_V2		0x0317
#define		CMD_CS_DUNGEON_CLEAR_LIST_V3		0x0318
#define		CMD_SC_DUNGEON_CLEAR_LIST_V3		0x0319

#define 	CMD_CS_MOVE	 				0x0401
#define 	CMD_SC_MOVE 					0x0402
#define 	CMD_CS_STOP		 			0x0403
#define 	CMD_SC_STOP				 	0x0404
#define 	CMD_NN_LOCATION_MODIFY	 	0x0405
#define 	CMD_CS_ATTACK_START		 	0x0406
#define 	CMD_SC_ATTACK_START		 	0x0407
#define 	CMD_CS_LOCATION_MODIFY	 	0x0408
#define 	CMD_SN_LOCATION_MODIFY	 	0x0409
#define 	CMD_CS_DASH 				0x0410
#define 	CMD_SC_DASH					0x0411
//#define		CMD_CS_REQ_LOCATION			0x0412
#define		CMD_SN_REQ_LOCATION			0x0413
#define CMD_CS_MOVE_MOB                 0x0414
#define CMD_SC_MOVE_MOB                 0x0415

#define	CMD_CN_READY					0x0501
#define	CMD_SN_FIGHT					0x0502
#define	CMD_CN_ATTACK					0x0503
#define	CMD_SN_ATTACK					0x0504
#define	CMD_SN_FIGHT_END				0x0505
#define CMD_CN_STATUS					0x0506
#define CMD_SN_STATUS					0x0507
//#define CMD_CN_CREATE_PROJECTILE		0x0508
#define CMD_SN_CREATE_PROJECTILE		0x0509
//#define CMD_CN_PROJECTILE_HITED			0x050A
//#define CMD_SN_PROJECTILE_HITED			0x050B
#define CMD_CN_SKILL					0x050C
#define CMD_SN_SKILL					0x050D
#define CMD_CN_KNOCK_DOWN				0x050E
#define CMD_SN_KNOCK_DOWN				0x050F
#define CMD_CS_PVP_OUT_REQ				0x0510
#define CMD_SC_PVP_OUT_REQ				0x0511

#define CMD_CS_DEATH_REQ					0x0512
#define CMD_SC_DEATH_REQ					0x0513

#define CMD_SC_ATTACK					0x0514
#define CMD_CN_ATTACK_DUNGEON			0x0515
#define CMD_SN_ATTACK_DUNGEON			0x0516
#define CMD_SC_PVP_OUT					0x0517
#define CMD_CS_REQ_USER_HPSP_INFO		0x0518
#define CMD_SC_REQ_USER_HPSP_INFO		0x0519
#define CMD_CS_TELEPORT_LOACATION		0x0520
#define CMD_SC_TELEPORT_LOACATION		0x0521

#define CMD_CS_REQ_SELF_DEAD			0x0522
#define CMD_SC_REQ_SELF_DEAD			0x0523

#define CMD_SC_REBIRTH_DIRECT			0x0525
#define CMD_SC_BATTLE_LATENCY_START	0x0526
#define CMD_SC_BATTLE_LATENCY_STOP		0x0527

#define CMD_CS_BATTLE_RECONNECT_INFO	0x0528
#define CMD_SC_BATTLE_RECONNECT_INFO	0x0529

#define CMD_CS_STATUS_RELEASE      	0x0530
#define CMD_SN_STATUS_RELEASE         	0x053A

#define	CMD_CN_MATCH_REQ				0x0601
#define	CMD_SC_MATCH_RES				0x0602
#define	CMD_SN_MATCH_REQ				0x0603
#define	CMD_CN_MATCH_RES				0x0604
#define	CMD_SN_MATCH_RES				0x0605
#define	CMD_SN_ENTER_ROOM				0x0606
#define	CMD_CS_MATCH_USER_INFO		0x0607
#define	CMD_SC_MATCH_USER_INFO		0x0608

#define CMD_CS_CHAT_MESSAGE				0x0701
#define CMD_SN_CHAT_MESSAGE				0x0702


#define CMD_CS_DUNGEON_INFO						0x0801
#define CMD_SC_DUNGEON_INFO						0x0802
#define CMD_CN_DUNGEON_DETAIL_INFO				0x0803
#define CMD_SN_DUNGEON_DETAIL_INFO				0x0804
#define CMD_CS_DUNGEON_MOB_CREATE				0x0805
#define CMD_SN_DUNGEON_MOB_CREATE				0x0807
#define CMD_CS_DUNGEON_ENABLE_MAP_CHANGE		0x0808
#define CMD_CS_DUNGEON_ENABLE_MAP_CHANGE_READY 0x080C
#define CMD_SN_DUNGEON_MAP_CHANGE_COUNT		0x0809
#define CMD_SN_DUNGEON_MAP_CHANGE				0x080A
#define CMD_SN_DUNGEON_DELEGATE_CHIEF			0x080B
//#define CMD_CS_DUNGEON_RECOMMAND_PARTNER_LIST	0x080C
//#define CMD_SC_DUNGEON_RECOMMAND_PARTNER_LIST	0x080D
//#define CMD_CS_DUNGEON_INVITE_PARTY				0x080F
//#define CMD_SC_DUNGEON_INVITE_PARTY				0x0810
//#define CMD_CS_DUNGEON_INVITE_PARTY_RES			0x0811
//#define CMD_SC_DUNGEON_INVITE_PARTY_RES			0x0812
//#define CMD_CS_DUNGEON_READY					0x0813
#define CMD_SN_DUNGEON_START					0x0814
#define CMD_CS_DUNGEON_OUT_REQ					0x0815
#define CMD_SC_DUNGEON_OUT_REQ					0x0816
#define CMD_CS_DUNGEON_ENTER_REQ				0x0817
#define CMD_SN_DUNGEON_ENTER_REQ				0x0818
#define CMD_CS_DUNGEON_PARTNER_INFO				0x0819
#define CMD_SC_DUNGEON_PARTNER_INFO				0x081A
#define CMD_SN_DUNGEON_MAP_CLEAR				0x081B
#define CMD_CS_DUNGEON_MOB_HP_INFO				0x081C
#define CMD_SN_DUNGEON_UPDATE_MOB_HP			0x081D
#define CMD_CS_DUNGEON_CARD_REWARD				0x081F
#define CMD_SC_DUNGEON_CARD_REWARD				0x0820
#define CMD_SN_DUNGEON_OUT_USERINFO				0x0821
#define CMD_CS_DUNGEON_GET_ITEM					0x0822
#define CMD_SC_DUNGEON_GET_ITEM					0x0823
#define CMD_CS_DUNGEON_GET_GOLD					0x0824
#define CMD_SC_DUNGEON_GET_GOLD					0x0825
#define CMD_SC_DUNGEON_ITEM_DROP                0x0826

/// 젠소모 처리
#define CMD_CS_DUNGEON_REBIRTH_ZEN        0x0827
#define CMD_SC_DUNGEON_REBIRTH_ZEN        0x0828
#define CMD_CS_DUNGEON_REBIRTH_VILLAGE    0x0829
#define CMD_SN_DUNGEON_REBIRTH				0x082A
/// 패널티 처리 후 클라에 전송
#define CMD_SC_DUNGEON_REBIRTH_VILLAGE    0x083A
#define CMD_CS_DUNGEON_MOB_VARIATION	0x083B
#define CMD_SC_DUNGEON_MOB_VARIATION	0x083C

#define CMD_CS_DUNGEON_CLEAR					0x0832
#define CMD_SC_DUNGEON_CLEAR					0x0833

//이벤트 던전
#define CMD_CS_REQ_EVENT_DUNGEON_INFO	0x082B
#define CMD_SC_REQ_EVENT_DUNGEON_INFO	0x082C
#define CMD_CS_ENTER_EVENT_DUNGEON		0x082D
#define CMD_SC_ENTER_EVENT_DUNGEON		0x082F
#define CMD_CS_REQ_EVENT_DUNGEON_STAMINA_INFO		0x0830
#define CMD_SC_REQ_EVENT_DUNGEON_STAMINA_INFO		0x0831
#define CMD_CS_REQ_EVENT_DUNGEON_STAMINA_INFO_V2	0x0834
#define CMD_SC_REQ_EVENT_DUNGEON_STAMINA_INFO_V2	0x0835

#define CMD_CS_REQ_LOGIN						0x090B
#define CMD_SC_REQ_LOGIN						0x090C
#define CMD_CS_REQ_SERVER_LIST					0x090D
#define CMD_SC_REQ_SERVER_LIST					0x090E
#define CMD_CS_REQ_CHANNEL_LIST					0x0911
#define CMD_SC_REQ_CHANNEL_LIST					0x0912
#define CMD_CS_REQ_SLOT_LIST					0x0915
#define CMD_SC_REQ_SLOT_LIST					0x0916
#define CMD_CS_SLOT_PLAYER_CREATE				0x0917
#define CMD_SC_SLOT_PLAYER_CREATE				0x0918
#define CMD_CS_REQ_CHANGE_MAIN_CHARACTER		0x0932
#define CMD_SC_REQ_CHANGE_MAIN_CHARACTER		0x0933
#define CMD_CS_REQ_OPEN_SLOT					0x0934
#define CMD_SC_REQ_OPEN_SLOT					0x0935
#define CMD_CS_REQ_DELETE_SLOT					0x0936
#define CMD_SC_REQ_DELETE_SLOT					0x0937
#define CMD_CS_REQ_RANDOM_STAT					0x0938
#define CMD_SC_REQ_RANDOM_STAT					0x0939

#define CMD_CS_REQ_USER_INFO_DEFAULT			0x0901
#define CMD_SC_REQ_USER_INFO_DEFAULT			0x0902
#define CMD_CS_REQ_USER_INFO_FAIRY				0x0903
#define CMD_SC_REQ_USER_INFO_FAIRY				0x0904
#define CMD_CS_REQ_USER_INFO_EQUIPED			0x0905
#define CMD_SC_REQ_USER_INFO_EQUIPED			0x0906
#define CMD_CS_REQ_USER_INFO_INVEN				0x0907
#define CMD_SC_REQ_USER_INFO_INVEN				0x0908
#define CMD_CS_REQ_USER_INFO_QUICKSLOT			0x0909
#define CMD_SC_REQ_USER_INFO_QUICKSLOT			0x090A
#define CMD_CS_REQ_EQUIP						0x0919
#define CMD_SC_REQ_EQUIP						0x091A
#define CMD_CS_REQ_EQUIP_RELEASE				0x091B
#define CMD_SC_REQ_EQUIP_RELEASE				0x091C
#define CMD_CS_REQ_DESTROY_ITEM					0x091D
#define CMD_SC_REQ_DESTROY_ITEM					0x091E
#define CMD_CS_REQ_MOVE_ITEM					0x091F
#define CMD_SC_REQ_MOVE_ITEM					0x0920
#define CMD_CS_APPLY_STAT_POINT					0x0921
#define CMD_SC_APPLY_STAT_POINT					0x0922
#define CMD_CS_APPLY_SKILL_POINT				0x0923
#define CMD_SC_APPLY_SKILL_POINT				0x0924
#define CMD_CS_REGIST_QUICK_SLOT				0x0925
#define CMD_SC_REGIST_QUICK_SLOT				0x0926
#define CMD_CS_RELEASE_QUICK_SLOT				0x0927
#define CMD_SC_RELEASE_QUICK_SLOT				0x0928
#define CMD_CS_REQ_USER_INFO_INVEN_BAG			0x0929
#define CMD_SC_REQ_USER_INFO_INVEN_BAG			0x092A
#define CMD_CS_REQ_USER_EQUIP_ITEM_INFO			0x092B
//#define CMD_SC_REQ_USER_EQUIP_ITEM_INFO			0x092C	// NOT USE
#define CMD_CS_VEHICLE_EQUIP					0x092D
#define CMD_SN_VEHICLE_EQUIP					0x092E
#define CMD_SC_REQ_OPP_USER_INFO_DEFAULT_VILLAGE	0x092F
#define CMD_CS_VEHICLE_BUY						0x0930
#define CMD_SC_VEHICLE_BUY						0x0931
#define CMD_CS_REQ_USER_STAT_INFO				0x093A
#define CMD_SC_REQ_USER_STAT_INFO				0x093B
#define CMD_CS_REQ_OPP_USER_INFO_DEFAULT_VILLAGE	0x0940
#define CMD_CS_REQ_SOCIAL_INFO					0x0941
#define CMD_SC_REQ_SOCIAL_INFO					0x0942
#define CMD_CS_REQ_USER_INFO_DETAIL				0x0944
#define CMD_SC_REQ_USER_INFO_DETAIL				0x0945


#define CMD_CS_CHANGE_INTRO_STATE				0x094C
#define CMD_SC_CHANGE_INTRO_STATE				0x094D
//////////////////////////////////
// tutorial
#define CMD_CS_REQ_SHOW_OTHERS					0x0946
#define CMD_SC_REQ_SHOW_OTHERS					0x0947
#define CMD_CS_REQ_TUTORIAL_LIST				0x0948
#define CMD_SC_REQ_TUTORIAL_LIST				0x0949
#define CMD_CS_CHANGE_TUTORIAL_STATE			0x094A
#define CMD_SC_CHANGE_TUTORIAL_STATE			0x094B
//
//////////////////////////////////

/// 유효성 검증 데이터
#define CMD_CS_CHECK_VALIDATE_DATA				0x094E
#define CMD_SC_CHECK_VALIDATE_DATA				0x094F

#define CMD_CS_REQ_MY_STATE						0x0950
#define CMD_SC_REQ_MY_STATE						0x0951

#define CMD_CS_REQ_CHANNEL_RESERVE				0x0952
#define CMD_SC_REQ_CHANNEL_RESERVE 				0x0953


#define CMD_SN_SERVER_EXCEPTION					0x0954
#define CMD_SN_INVEN_ITEM_UPDATE				0x0955
//#define CMD_SN_DECORATE_ITEM_INFO				0x0956

#define CMD_CS_REQ_EXTEND_PERIOD				0x0957
#define CMD_SC_REQ_EXTEND_PERIOD				0x0958

#define	 CMD_CS_REQ_GAME_INFO					0x0959
#define	 CMD_SC_REQ_GAME_INFO					0x095A

#define CMD_CS_MONTH_CHARGE_EVENT_INFO			0x095B
#define CMD_SC_MONTH_CHARGE_EVENT_INFO			0x095C

#define CMD_CS_REQ_EQUIP_V2 					0x0967
#define CMD_SC_REQ_EQUIP_V2                  	0x0968

// 일일 미션
#define CMD_CS_REQ_DAILY_MISSION				0x0960
#define CMD_SC_REQ_DAILY_MISSION				0x0961
#define CMD_CS_REQ_DAILY_MISSION_REWARD			0x0962
#define CMD_SC_REQ_DAILY_MISSION_REWARD			0x0963
#define CMD_CS_REQ_DAILY_MISSION_SPECIAL_REWARD		0x0964
#define CMD_SC_REQ_DAILY_MISSION_SPECIAL_REWARD		0x0965
#define CMD_SC_COMPLETE_DAILY_MISSION			0x0966


// Market
#define CMD_CS_MARKET_ITEM_REG					0x1000
#define CMD_SC_MARKET_ITEM_REG					0x1001
#define CMD_CS_MARKET_ITEM_SALE_LIST			0x1002
#define CMD_SC_MARKET_ITEM_SALE_LIST			0x1003
#define CMD_CS_MARKET_ITEM_DETAIL_INFO			0x1004
#define CMD_SC_MARKET_ITEM_DETAIL_INFO			0x1005
#define CMD_CS_MARKET_ITEM_BUY					0x1006
#define CMD_SC_MARKET_ITEM_BUY					0x1007
#define CMD_CS_MARKET_MY_ITEM_LIST				0x1008
#define CMD_SC_MARKET_MY_ITEM_LIST				0x1009
#define CMD_CS_MARKET_MY_ITEM_CANCEL			0x100A
#define CMD_SC_MARKET_MY_ITEM_CANCEL			0x100B
#define CMD_CS_MARKET_SALE_ITEM_INFO			0x100C
#define CMD_SC_MARKET_SALE_ITEM_INFO			0x100D
#define CMD_CS_MARKET_ITEM_SALE_LIST_V2			0x100E
#define CMD_SC_MARKET_ITEM_SALE_LIST_V2			0x100F
#define CMD_CS_MARKET_MY_ITEM_LIST_V2			0x1010
#define CMD_SC_MARKET_MY_ITEM_LIST_V2			0x1011


// Dungeon
#define CMD_SC_PARTY_CREATE				0x1101
#define CMD_CS_PARTY_INVITE				0x1102
#define CMD_SC_PARTY_INVITE				0x1103
#define CMD_CS_PARTY_INVITE_RES			0x1104
#define CMD_SC_PARTY_INVITE_RES			0x1105
#define CMD_CN_PARTY_ENTER				0x1106
#define CMD_SN_PARTY_ENTER				0x1107
#define CMD_CS_PARTY_USER_LIST			0x1108
#define CMD_SC_PARTY_USER_LIST			0x1109
#define CMD_CN_PARTY_READY				0x110A
#define CMD_SN_PARTY_READY				0x110B
#define CMD_SN_PARTY_START				0x110C
#define CMD_CN_PARTY_LEAVE				0x110D
#define CMD_SN_PARTY_LEAVE				0x110E
#define CMD_SC_PARTY_OUT_MAP_INFO		0x110F
#define CMD_CS_USER_DEFAULT_INFO		0x1110
#define CMD_SC_USER_DEFAULT_INFO		0x1111
#define CMD_CS_DUNGEON_CLEAR_INFO		0x1112
#define CMD_SC_DUNGEON_CLEAR_INFO		0x1113
#define CMD_CS_DUNGEON_CARD_REWARD_EXECUTE_READY	0x1114
#define CMD_SC_DUNGEON_CARD_REWARD_EXECUTE_READY	0x1115
#define CMD_CS_DUNGEON_CLEAR_DETAIL_INFO	0x1116
#define CMD_SC_DUNGEON_CLEAR_DETAIL_INFO	0x1117
#define CMD_CS_REQ_DUNGEON_RANDOM_PARTY		0x1118
#define CMD_SC_REQ_DUNGEON_RANDOM_PARTY		0x1119
#define CMD_CS_REQ_DUNGEON_RANDOM_PARTY_TIME_OVER	0x111A
#define CMD_CS_REQ_DUNGEON_CREATE_SINGLE	0x111B
#define CMD_SC_REQ_DUNGEON_CREATE_SINGLE	0x111C
#define CMD_CS_REQ_DUNGEON_CREATE_PARTY_FRIEND	0x111D
#define CMD_SC_REQ_DUNGEON_CREATE_PARTY_FRIEND	0x111E
#define CMD_SN_PARTY_CREATE_DONE		0x111F
#define CMD_SC_PARTY_JOIN_INFO					0x1120
#define CMD_SC_PARTY_INVITE_USER_COUNT			0x1121

#define CMD_CS_REQ_DUNGEON_MOB_INFO				0x1122
#define CMD_SC_REQ_DUNGEON_MOB_INFO				0x1123


// New Party Room
#define CMD_CS_REQ_DUNGEON_PARTY_LIST            0x1124
#define CMD_SC_REQ_DUNGEON_PARTY_LIST            0x1125

#define CMD_CS_REQ_DUNGEON_PARTY_CREATE_ROOM		0x1126
#define CMD_SC_REQ_DUNGEON_PARTY_CREATE_ROOM		0x1127

#define CMD_SN_DUNGEON_PARTY_CANCLE				0x1128

#define CMD_CS_REQ_DUNGEON_PARTY_JOIN				0x1129
#define CMD_SC_REQ_DUNGEON_PARTY_JOIN				0x112A

#define CMD_SN_REQ_DUNGEON_PARTY_JOIN				0x112B
#define CMD_SN_DUNGEON_PARTY_MEMBER_LEAVE        0x112C

#define CMD_CS_DUNGEON_PARTY_READY					0x112D

#define CMD_CS_REQ_DUNGEON_PARTY_JOIN_V2         0x112E
#define CMD_SC_REQ_DUNGEON_PARTY_JOIN_V2         0x112F

#define CMD_CS_REQ_DUNGEON_PARTY_LIST_V2         0x1130
#define CMD_SC_REQ_DUNGEON_PARTY_LIST_V2         0x1131

#define CMD_CS_REQ_DUNGEON_PARTY_CREATE_ROOM_V2  0x1132
#define CMD_SC_REQ_DUNGEON_PARTY_CREATE_ROOM_V2  0x1133

#define CMD_CS_DUNGEON_CLEAR_INFO_V2             0x1134
#define CMD_SC_DUNGEON_CLEAR_INFO_V2             0x1135

#define CMD_CS_REQ_DUNGEON_CREATE_SINGLE_V2			0x1136
#define CMD_SC_REQ_DUNGEON_CREATE_SINGLE_V2			0x1137
#define CMD_CS_REQ_DUNGEON_CREATE_PARTY_FRIEND_V2	0x1138
#define CMD_SC_REQ_DUNGEON_CREATE_PARTY_FRIEND_V2	0x1139


// Mail
#define CMD_CS_WRITE_MAIL						0x1200
#define CMD_SC_WRITE_MAIL						0x1201
#define CMD_CS_READ_MAIL_LIST					0x1202
#define CMD_SC_READ_MAIL_LIST					0x1203
#define CMD_CS_READ_MAIL_DELETE					0x1204
#define CMD_SC_READ_MAIL_DELETE					0x1205
#define CMD_CS_READ_MAIL_DETAIL					0x1206
#define CMD_SC_READ_MAIL_DETAIL					0x1207
#define CMD_CS_READ_MAIL_RECV_PRESENT			0x1208
#define CMD_SC_READ_MAIL_RECV_PRESENT			0x1209
#define CMD_CS_GET_NEW_MAIL_COUNT				0x120A
#define CMD_SC_GET_NEW_MAIL_COUNT				0x120B
#define CMD_CS_MAIL_DELETE_ALL					0x120C
#define CMD_SC_MAIL_DELETE_ALL					0x120D
#define CMD_CS_GET_NEW_MAIL_COUNT_V2			0x120E
#define CMD_SC_GET_NEW_MAIL_COUNT_V2			0x120F
#define CMD_CS_GUILD_WRITE_MAIL				0x1210
#define CMD_SC_GUILD_WRITE_MAIL				0x1211


// PVP
//#define CMD_CS_GET_PVP_MENU_INFO				0x1300
//#define CMD_SC_GET_PVP_MENU_INFO				0x1301
#define CMD_CS_EXCHANGE_SCORE_REQ				0x1302
#define CMD_SC_EXCHANGE_SCORE_REQ				0x1303
#define CMD_CS_PRACTICE_MATCH_PLAYER			0x1304
//#define CMD_CS_SEARCH_MATCH_PLAYER				0x1305
#define CMD_CS_QUICK_MATCH_PLAYER				0x1306
#define CMD_SC_MATCH_PLAYER						0x1307
#define CMD_CS_GET_MATCH_RESULT					0x1309
#define CMD_SC_GET_MATCH_RESULT					0x130A
#define CMD_CS_ITEM_INFO_REQ					0x130B
#define CMD_SC_ITEM_INFO_REQ					0x130C
#define CMD_CS_FIGHT_END_WITH_BOT				0x130D
#define CMD_SC_FIGHT_END_WITH_BOT				0x130E
#define CMD_CS_REQ_AI_INFO_DEFAULT				0x130F
#define CMD_CS_ENTER_MATCH_ROOM					0x1310
#define CMD_CS_MATCH_TIME_OVER					0x1311
#define CMD_SC_MATCH_TIME_OVER					0x1312
#define CMD_CS_PVP_TIME_OVER					0x1313
#define CMD_CS_PVP_FRIEND_MATCH_REQ				0x1314
#define CMD_SC_PVP_FRIEND_MATCH_REQ				0x1315
#define CMD_SC_PVP_MATCH_ASK					0x1316
#define CMD_CS_PVP_MATCH_RES					0x1317
#define CMD_SC_QUICK_MATCH_PLAYER				0x1318
#define CMD_CS_REG_PVP_WIN_MESSAGE				0x131B
#define CMD_SC_REG_PVP_WIN_MESSAGE				0x131C
#define CMD_CS_REQ_PVP_WIN_MESSAGE				0x131D
#define CMD_SC_REQ_PVP_WIN_MESSAGE				0x131E
#define CMD_CS_REQ_AI_BATTLE_RESULT				0x131f
#define CMD_SC_REQ_AI_BATTLE_RESULT				0x1320
#define CMD_CS_PVP_ROOM_CREATE					0x1321
#define CMD_SC_PVP_ROOM_CREATE					0x1322
#define CMD_CS_PVP_ROOM_LIST					0x1323
#define CMD_SC_PVP_ROOM_LIST					0x1324
#define CMD_CS_PVP_ROOM_JOIN					0x1325
#define CMD_SC_PVP_ROOM_JOIN					0x1326
#define CMD_SC_PVP_ROOM_CANCEL					0x1327
#define CMD_CS_PVP_ROOM_LIST_V2					0x1328
#define CMD_SC_PVP_ROOM_LIST_V2					0x1329

// PK
//#define CMD_CS_REQ_PK_MENU_INFO					0x1400
//#define CMD_SC_REQ_PK_MENU_INFO					0x1401
#define CMD_CS_REQ_PK_ENTER						0x1402
#define CMD_SC_REQ_PK_ENTER						0x1403
#define CMD_CS_REQ_PK_ENTER_CANCEL				0x1404
#define CMD_SC_REQ_PK_ENTER_CANCEL				0x1405
#define CMD_CS_REQ_PK_USER_LIST					0x1406
#define CMD_SC_REQ_PK_USER_LIST					0x1407
#define CMD_CS_PK_READY							0x1408
#define CMD_SN_PK_START							0x1409
#define CMD_SN_PK_POINT							0x140A
#define CMD_CS_PK_END							0x140B
#define CMD_SN_PK_END							0x140C
#define CMD_CS_PK_RESULT						0x140D
#define CMD_SC_PK_RESULT						0x140E
#define CMD_CS_REQ_PK_MAP_INFO					0x140F
#define CMD_SC_REQ_PK_MAP_INFO					0x1410
#define CMD_CS_PK_REBIRTH						0x1411
#define CMD_SN_PK_REBIRTH						0x1412
#define CMD_CS_PK_OUT_REQ						0x1413
#define CMD_SC_PK_OUT_REQ						0x1414
#define CMD_CS_PK_SEND_INVITATION				0x1415
#define CMD_SC_PK_SEND_INVITATION				0x1416
#define CMD_SC_PK_RECV_INVITATION 				0x1417
#define CMD_CS_PK_INVITATION_RESULT				0x1418
#define CMD_SC_PK_INVITATION_RESULT 			0x1419
#define CMD_SC_PK_CANCEL_INVITATION_PARTY		0x141A
#define CMD_CS_PK_BATTLE_DETAIL_INFO			0x141B
#define CMD_SC_PK_BATTLE_DETAIL_INFO			0x141C
#define CMD_CS_BATTLE_ROYAL_PARTNER_INFO		0x141d
#define CMD_CS_PK_ROOM_LIST						0x141e
#define CMD_SC_PK_ROOM_LIST						0x141f
#define CMD_CS_PK_REQ_CREATE_ROOM				0x1420
#define CMD_SC_PK_REQ_CREATE_ROOM				0x1421
#define CMD_CS_PK_REQ_ROOM_JOIN					0x1422
#define CMD_SC_PK_REQ_ROOM_JOIN					0x1423
#define CMD_SN_PK_REQ_ROOM_JOIN					0x1424
#define CMD_SN_PK_ROOM_LEAVE					0x1425
#define CMD_CS_PK_REQ_ROOM_JOIN_V2				0x1426
#define CMD_SC_PK_REQ_ROOM_JOIN_V2				0x1427
#define CMD_CS_PK_ROOM_LIST_V2					0x1428
#define CMD_SC_PK_ROOM_LIST_V2					0x1429

#define CMD_SN_CREATE_HP_BUFF					0x142c
#define CMD_SN_DESTROY_HP_BUFF					0x142d
#define CMD_CS_GET_HP_BUFF						0x142e
#define CMD_SC_GET_HP_BUFF						0x142f
#define CMD_SN_HP_BUFF_INFO						0x1430

#define CMD_CS_REQ_FAIRY_INFO					0x1500
#define CMD_SC_REQ_FAIRY_INFO					0x1501
#define CMD_CS_REQ_FAIRY_EGG_HATCH				0x1502
#define CMD_SC_REQ_FAIRY_EGG_HATCH				0x1503
#define CMD_CS_REQ_FAIRY_REBIRTH				0x1504
#define CMD_SC_REQ_FAIRY_REBIRTH				0x1505
#define CMD_CS_REQ_FAIRY_SACRIFICE				0x1506
#define CMD_SC_REQ_FAIRY_SACRIFICE				0x1507
#define CMD_CS_REQ_FAIRY_GACHYA					0x1508
#define CMD_SC_REQ_FAIRY_GACHYA					0x1509
#define CMD_CS_ULTIMATE_EVOLUTION_FAIRY      	0x150A
#define CMD_SC_ULTIMATE_EVOLUTION_FAIRY      	0x150B
#define CMD_CS_REQ_FAIRY_COMBINE				0x150C
#define CMD_SC_REQ_FAIRY_COMBINE				0x150D
#define CMD_CS_EVOLUTION_FAIRY					0x150E
#define CMD_SC_EVOLUTION_FAIRY					0x150F


#define CMD_CS_REQ_INVEN_REORDER				0x1600
#define CMD_SC_REQ_INVEN_REORDER				0x1601
#define CMD_CS_REQ_INVEN_USE 					0x1602
#define CMD_SC_REQ_INVEN_USE 					0x1603
#define CMD_CS_REQ_INVEN_IDENTIFY				0x1604
#define CMD_SC_REQ_INVEN_IDENTIFY				0x1605
#define CMD_CS_REQ_INVEN_REFAIR					0x1606
#define CMD_SC_REQ_INVEN_REFAIR					0x1607
#define CMD_CS_REQ_MOVE_TO_WAREHOUSE			0x1608
#define CMD_SC_REQ_MOVE_TO_WAREHOUSE			0x1609
#define CMD_CS_REQ_MOVE_TO_INVEN				0x160A
#define CMD_SC_REQ_MOVE_TO_INVEN				0x160B
#define CMD_CS_REQ_WAREHOUSE_ADD_SLOT			0x160C
#define CMD_SC_REQ_WAREHOUSE_ADD_SLOT			0x160D
#define CMD_CS_REQ_INVEN_USE_UPGRADE_STONE		0x1614
#define CMD_SC_REQ_INVEN_USE_UPGRADE_STONE		0x1615


#define CMD_CS_SELECT_TRAINING_TIME 				0x1700
#define CMD_SC_SELECT_TRAINING_TIME				0x1701
#define CMD_CS_REQ_AUTO_TRAINING					0x1702
#define CMD_SC_REQ_AUTO_TRAINING					0x1703
#define CMD_CS_REQ_LOGOUT							0x1704
#define CMD_CS_REQ_COMPLETE_TRAINING				0x1705
#define CMD_SC_REQ_COMPLETE_TRAINING				0x1706
#define CMD_SC_REQ_LOGOUT							0x1707

// Evolution
#define CMD_CS_EVOLUTION_POINT_INFO 				0x1800
#define CMD_SC_EVOLUTION_POINT_INFO 				0x1801
#define CMD_CS_EVOLUTION_POINT_USE 					0x1802
#define CMD_SC_EVOLUTION_POINT_USE 					0x1803
#define CMD_CS_EVOLUTION_ITEM_CREATE				0x1804
#define CMD_SC_EVOLUTION_ITEM_CREATE				0x1805
#define CMD_CS_EVOLUTION_ITEM_UPGRADE				0x1806
#define CMD_SC_EVOLUTION_ITEM_UPGRADE				0x1807
#define CMD_CS_EVOLUTION_POINT_CHARGE				0x1808
#define CMD_SC_EVOLUTION_POINT_CHARGE				0x1809
#define CMD_CS_EVOLUTION_POINT_GIVE_TO_ITEM			0x1810
#define CMD_SC_EVOLUTION_POINT_GIVE_TO_ITEM			0x1811
#define CMD_CS_REQ_SKILL_BUFF						0x1812
#define CMD_SC_REQ_SKILL_BUFF						0x1813


#define CMD_CS_REQ_TITLE_DATA						0x1900
#define CMD_SC_REQ_TITLE_DATA						0x1901
#define CMD_CS_REQ_TITLE_UPDATE						0x1902
#define CMD_SC_REQ_TITLE_UPDATE						0x1903
#define CMD_CS_REQ_TITLE_GET						0x1904
#define CMD_SC_REQ_TITLE_GET						0x1905


#define CMD_CS_REQ_QUEST_DATA						0x2000
#define CMD_SC_REQ_QUEST_DATA						0x2001
#define CMD_CS_REQ_QUEST_UPDATE_STATE				0x2002
#define CMD_SC_REQ_QUEST_UPDATE_STATE				0x2003
#define CMD_CS_REQ_QUEST_UPDATE_QUEST				0x2004
#define CMD_SC_REQ_QUEST_UPDATE_QUEST				0x2005


// Friend
#define CMD_CS_SOCIAL_REQUEST_LOGOUT			0x2106
#define CMD_SC_SOCIAL_REQUEST_LOGOUT			0x2107
#define CMD_CS_SOCIAL_REQUEST_UNREGISTER		0x2108
#define CMD_SC_SOCIAL_REQUEST_UNREGISTER		0x2109
#define CMD_CS_SOCIAL_UPDATE_MY_STATUS			0x210A
#define CMD_SC_SOCIAL_UPDATE_MY_STATUS			0x210B
#define CMD_CS_SOCIAL_REQUEST_NEWS				0x210C
#define CMD_SC_SOCIAL_REQUEST_NEWS				0x210D
#define CMD_CS_SOCIAL_SEND_HEART_SM				0x210E
#define CMD_SC_SOCIAL_SEND_HEART_SM				0x210F
#define CMD_CS_SOCIAL_RECOMMEND_FRIEND_LIST		0x2110
#define CMD_SC_SOCIAL_RECOMMEND_FRIEND_LIST		0x2111
#define CMD_CS_SOCIAL_REQUEST_MESSAGE_LIST		0X2112
#define CMD_SC_SOCIAL_REQUEST_MESSAGE_LIST		0X2113
#define CMD_CS_SOCIAL_BOAST						0x2114
#define CMD_SC_SOCIAL_BOAST						0x2115
#define CMD_CS_SOCIAL_FRIEND_BUFF_SM			0x2116
#define CMD_SC_SOCIAL_FRIEND_BUFF_SM			0x2117
#define CMD_CS_SOCIAL_INVITE_NOAPP_FRIEND_SM	0x2118
#define CMD_SC_SOCIAL_INVITE_NOAPP_FRIEND_SM	0x2119
#define CMD_CS_SOCIAL_FRIEND_PLAYABLE			0x211A
#define CMD_SC_SOCIAL_FRIEND_PLAYABLE			0x211B
#define CMD_CS_SOCIAL_REQ_INGAME_FRIEND_SM		0x211C
#define CMD_SC_SOCIAL_REQ_INGAME_FRIEND_SM		0x211D
#define CMD_CS_SOCIAL_CONFIRM_FRIEND_REQ		0x211E
#define CMD_SC_SOCIAL_CONFIRM_FRIEND_REQ		0x211F
#define CMD_CS_SOCIAL_REQUEST_CONNECT_SM		0x2122
#define CMD_SC_SOCIAL_REQUEST_CONNECT_SM		0x2123
#define CMD_CS_SOCIAL_CONFIRM_NEWS				0x2124
#define CMD_SC_SOCIAL_CONFIRM_NEWS				0x2125
#define CMD_CS_SOCIAL_FRIEND_ALL_BUF_TIME		0x2133
#define CMD_SC_SOCIAL_FRIEND_ALL_BUF_TIME		0x2134
#define CMD_CS_MAIN_FRIEND_LIST_DATA			0x2800
#define CMD_SC_MAIN_FRIEND_LIST_DATA			0x2801
#define CMD_CS_LAST_WEEK_RANK_LIST				0x2804
#define CMD_SC_LAST_WEEK_RANK_LIST				0x2805
#define CMD_CS_LAST_WEEK_RANK_REWARD			0x2806
#define CMD_SC_LAST_WEEK_RANK_REWARD			0x2807
#define CMD_CS_LAST_WEEK_RANK_REWARD_V2			0x280C
#define CMD_SC_LAST_WEEK_RANK_REWARD_V2			0x280D
#define CMD_CS_GACHYA_BOX						0x2802
#define CMD_SC_GACHYA_BOX						0x2803
#define CMD_CS_SOCIAL_DELETE_FRIEND				0x2126
#define CMD_SC_SOCIAL_DELETE_FRIEND				0x2127
#define CMD_CS_SOCIAL_SUMMON_FRIEND				0x2128
#define CMD_SC_SOCIAL_SUMMON_FRIEND				0x2129
#define CMD_SN_SOCIAL_SUMMON_FROM_FRIEND			0x212A
#define CMD_CS_SOCIAL_REPLY_SUMMON					0x212B
#define CMD_SC_SOCIAL_REPLY_SUMMON					0x212C
#define CMD_SN_SOCIAL_REPLY_SUMMON_FROM_FRIEND		0x212D
#define CMD_SN_SOCIAL_SUMMON_TIME_CANCEL			0x212E
#define CMD_CS_UPDATE_MY_PROFILE					0x2131
#define CMD_SC_UPDATE_MY_PROFILE					0x2132
#define CMD_CS_WEEKEND_RANK_TIME					0x2808
#define CMD_SC_WEEKEND_RANK_TIME					0x2809
#define CMD_CS_LAST_WEEK_RANK_REWARD_INFO			0x280A
#define CMD_SC_LAST_WEEK_RANK_REWARD_INFO			0x280B
#define CMD_CS_SOCIAL_FRIEND_SIMPLE_LIST			0x2136
#define CMD_SC_SOCIAL_FRIEND_SIMPLE_LIST			0x2137
#define CMD_CS_SOCIAL_SUMMON_FROM_FRIEND			0x2138
#define CMD_SC_SOCIAL_SUMMON_FROM_FRIEND			0x2139
#define CMD_CS_KAKAO_INVITATION_COUNT				0x213E
#define CMD_SC_KAKAO_INVITATION_COUNT				0x213F
#define CMD_CS_SOCIAL_FRIEND_LIST_GET_GID			0x2140
#define CMD_SC_SOCIAL_FRIEND_LIST_GET_GID			0x2141
#define CMD_CS_SOCIAL_INGAME_FRIEND_LIST_GET_GID	0x2142
#define CMD_SC_SOCIAL_INGAME_FRIEND_LIST_GET_GID	0x2143
#define CMD_CS_SOCIAL_FRIEND_LIST_INFO				0x2144
#define CMD_SC_SOCIAL_FRIEND_LIST_INFO				0x2145
#define CMD_CS_SOCIAL_INGAME_FRIEND_LIST_INFO		0x2146
#define CMD_SC_SOCIAL_INGAME_FRIEND_LIST_INFO		0x2147
#define CMD_CS_SOCIAL_MYINFO						0x2148
#define CMD_SC_SOCIAL_MYINFO						0x2149
#define CMD_CS_SOCIAL_NEWS_COUNT					0x2150
#define CMD_SC_SOCIAL_NEWS_COUNT					0x2151
#define CMD_CS_SOCIAL_UPDATE_INVITATION_BLOCK		0x2152
#define CMD_SC_SOCIAL_UPDATE_INVITATION_BLOCK		0x2153
#define CMD_CS_SOCIAL_UPDATE_FRIENDSHIP_BLOCK		0x2154
#define CMD_SC_SOCIAL_UPDATE_FRIENDSHIP_BLOCK		0x2155
#define CMD_CS_SOCIAL_CHARACTER_INFO				0x2156
#define CMD_SC_SOCIAL_CHARACTER_INFO				0x2157
#define CMD_CS_SOCIAL_FRIEND_PLAYABLE_V2    		0x215A
#define CMD_SC_SOCIAL_FRIEND_PLAYABLE_V2			0x215B

#define CMD_CS_SOCIAL_REQUEST_CONNECT_SM_V2      0x215C
#define CMD_CS_SOCIAL_SEND_HEART_SM_V2           0x215E
#define CMD_CS_SOCIAL_BOAST_SM_V2                0x2160
#define CMD_CS_SOCIAL_FRIEND_BUFF_SM_V2          0x2162

#define CMD_CS_SOCIAL_FRIEND_FRIENDSHIP_POINT		0x2164
#define CMD_SC_SOCIAL_FRIEND_FRIENDSHIP_POINT		0x2165
#define CMD_CS_SOCIAL_FRIEND_SIMPLE_LIST_V2			0x2166
#define CMD_SC_SOCIAL_FRIEND_SIMPLE_LIST_V2			0x2167
#define CMD_CS_SOCIAL_SEND_STAMINA_SM				0x2168
#define CMD_SC_SOCIAL_SEND_STAMINA_SM				0x2169
#define CMD_CS_SOCIAL_CONFIRM_NEWS_V2				0x216A
#define CMD_SC_SOCIAL_CONFIRM_NEWS_V2				0x216B
#define CMD_CS_SOCIAL_CHARACTER_INFO_V2			0x2176
#define CMD_SC_SOCIAL_CHARACTER_INFO_V2			0x2177


// Store
/////////////////////////////////////////////////////////////////////////
/// 일반상점
#define CMD_CS_REQ_SHOP_BUY_ITEM	0x2300
#define CMD_SC_REQ_SHOP_BUY_ITEM	0x2301
#define CMD_CS_REQ_SHOP_SELL_ITEM	0x2302
#define CMD_SC_REQ_SHOP_SELL_ITEM	0x2303

/////////////////////////////////////////////////////////////////////////
/// 유료상점
//ZEN 상품(IN-APP)리스트 요청.
#define CMD_CS_REQ_PURCHASE_PRODUCT_LIST	0x2304
#define CMD_SC_REQ_PURCHASE_PRODUCT_LIST	0x2305

//아이템 리스트 요청
#define CMD_CS_REQ_ZEN_SHOP_ITEM_LIST		0x2306
#define CMD_SC_REQ_ZEN_SHOP_ITEM_LIST		0x2307
#define CMD_CS_BUY_ITEM_WITH_ZEN			0x2308
#define CMD_SC_BUY_ITEM_WITH_ZEN			0x2309
#define CMD_CS_BUY_ITEM_WITH_ZEN_TO_USE	0x230A
#define CMD_SC_BUY_ITEM_WITH_ZEN_TO_USE	0x230B

#define CMD_CS_REQUEST_BUY_ITEM				0x230C
#define CMD_SC_REQUEST_BUY_ITEM				0x230D
#define CMD_CS_REG_BUY_ITEM_RESULT			0x230E
#define CMD_SC_REG_BUY_ITEM_RESULT			0x230F
#define CMD_CS_BUY_ITEM_CONSUME				0x2310
#define CMD_SC_BUY_ITEM_CONSUME				0x2311
#define CMD_CS_IOS_SEND_GIFT_SHOW    		0x2312
#define CMD_SC_IOS_SEND_GIFT_SHOW    		0x2313
#define CMD_CS_MY_WALLET					0x2314
#define CMD_SC_MY_WALLET					0x2315
#define CMD_CS_ITEM_GACHYA					0x2316
#define CMD_SC_ITEM_GACHYA					0x2317
#define CMD_CS_ITEM_GACHYA_MAIL				0x2318
#define CMD_SC_ITEM_GACHYA_MAIL				0x2319
#define CMD_CS_UPGRADE_STONE_GACHYA			0x231A
#define CMD_SC_UPGRADE_STONE_GACHYA			0x231B
#define CMD_CS_UPGRADE_STONE_GACHYA_MAIL	0x231C
#define CMD_SC_UPGRADE_STONE_GACHYA_MAIL	0x231D

// 젠 증차감
//ZNO_CS_REQ_VC
//
//ZNO_SC_REQ_VC

// 중요 : 골드 사용에 대한 모든 정리


//CPI
#define CMD_CS_CPI_REQUEST			0x2405
#define CMD_SC_CPI_REQUEST			0x2406

// Blacksmith
#define CMD_CS_BLACKSMITH_UPSTONE_LIST				0x2200
#define CMD_SC_BLACKSMITH_UPSTONE_LIST				0x2201
#define CMD_CS_BLACKSMITH_REFINE					0x2202
#define CMD_SC_BLACKSMITH_REFINE					0x2203
#define CMD_CS_BLACKSMITH_UPSTONE					0x2204
#define CMD_SC_BLACKSMITH_UPSTONE					0x2205
#define CMD_CS_BLACKSMITH_UPSTONE_COMPLETE			0x2206
#define CMD_SC_BLACKSMITH_UPSTONE_COMPLETE			0x2207
#define CMD_CS_REQ_UPGRADE_STONE_COMBINE			0x2208
#define CMD_SC_REQ_UPGRADE_STONE_COMBINE			0x2209
#define CMD_CS_REQ_MAGIC_REFINE_INFO				0x220A
#define CMD_SC_REQ_MAGIC_REFINE_INFO				0x220B
#define CMD_CS_BLACKSMITH_MAGIC_REFINE				0x220C
#define CMD_SC_BLACKSMITH_MAGIC_REFINE				0x220D


//일일 보상 리스트
#define CMD_CS_DAILY_REWARD_LIST					0x2900
#define CMD_SC_DAILY_REWARD_LIST					0x2901
//일일 보상 요청
#define CMD_CS_DAILY_REWARD							0x2902
#define CMD_SC_DAILY_REWARD							0x2903
//내일 받기
#define CMD_CS_DAILY_REWARD_GET_NEXT				0x2904
#define CMD_SC_DAILY_REWARD_GET_NEXT				0x2905

#define CMD_CS_DAILY_REWARD_GACHYA					0x2906	///일일 보상 캡슐 뽑기
#define CMD_SC_DAILY_REWARD_GACHYA					0x2907
#define CMD_CS_DAILY_REWARD_REQ_BATTLE_PET_GACHYA	0x2908	///일일 보상 캡슐 전투펫 뽑기 요청
#define CMD_SC_DAILY_REWARD_REQ_BATTLE_PET_GACHYA	0x2909

// Battle Pet
#define CMD_CS_REQ_BATTLE_PET_GACHYA				0x3000
#define CMD_SC_REQ_BATTLE_PET_GACHYA				0x3001
#define CMD_CS_REQ_COMBINE_BATTLE_PET				0x3002
#define CMD_SC_REQ_COMBINE_BATTLE_PET				0x3003
#define CMD_CS_ULTIMATE_EVOLUTION_BATTLE_PET		0x3004
#define CMD_SC_ULTIMATE_EVOLUTION_BATTLE_PET		0x3005
#define CMD_CS_ULTIMATE_EVOLUTION_BATTLE_PET_V2		0x3006
#define CMD_SC_ULTIMATE_EVOLUTION_BATTLE_PET_V2		0x3007

// VIP INFO
#define CMD_CS_VIP_INFO								0x3100
#define CMD_SC_VIP_INFO								0x3101

// 체력치
#define CMD_CS_STAMINA_INFO							0x3300
#define CMD_SC_STAMINA_INFO							0x3301

// WORLD BOSS
#define CMD_CS_REQ_WORLD_BOSS_INFO		 				0x4000
#define CMD_SC_REQ_WORLD_BOSS_INFO 					0x4001

#define CMD_CS_REQ_WORLD_BOSS_PARTY_LIST 				0x4002
#define CMD_SC_REQ_WORLD_BOSS_PARTY_LIST 				0x4003

#define CMD_CS_REQ_WORLD_BOSS_CREATE_PARTY_ROOM		0x4004
#define CMD_SC_REQ_WORLD_BOSS_CREATE_PARTY_ROOM		0x4005

#define CMD_SN_WORLD_BOSS_PARTY_CANCLE					0x4006

#define CMD_CS_REQ_WORLD_BOSS_PARTY_JOIN				0x4007
#define CMD_SC_REQ_WORLD_BOSS_PARTY_JOIN				0x4008

#define CMD_SN_REQ_WORLD_BOSS_PARTY_JOIN				0x4009

#define CMD_SN_WORLD_BOSS_PARTY_MEMBER_LEAVE			0x400A

#define CMD_CS_WORLD_BOSS_PARTY_READY					0x400B

#define CMD_CS_REQ_WORLD_BOSS_CREATE_SINGLE			0x400C
#define CMD_SC_REQ_WORLD_BOSS_CREATE_SINGLE			0x400D

#define CMD_CS_REQ_WORLD_BOSS_CREATE_PARTY_FRIEND	0x400F
#define CMD_SC_REQ_WORLD_BOSS_CREATE_PARTY_FRIEND	0x4010

#define CMD_CS_WORLD_BOSS_RESULT 						0x4011
#define CMD_SC_WORLD_BOSS_RESULT						0x4012

#define CMD_CS_REQ_WORLD_BOSS_RANK_REWORD				0x4013
#define CMD_SC_REQ_WORLD_BOSS_RANK_REWORD				0x4014

#define CMD_CS_WORLD_BOSS_RANK_REWARD_INFO			0x4015
#define CMD_SC_WORLD_BOSS_RANK_REWARD_INFO			0x4016

//#define CMD_CS_REQ_WORLD_BOSS_DETAIL_INFO		 		0x4017
#define CMD_SN_REQ_WORLD_BOSS_DETAIL_INFO 			0x4017

#define CMD_SC_WORLD_BOSS_PARTY_INVITE					0x4018
#define CMD_CS_WORLD_BOSS_PARTY_INVITE_RES			0x4019
#define CMD_SC_WORLD_BOSS_PARTY_INVITE_RES			0x401A
#define CMD_CS_REQ_WORLD_BOSS_PARTY_JOIN_V2         	0x401B
#define CMD_SC_REQ_WORLD_BOSS_PARTY_JOIN_V2         	0x401C

// WORLD BOSS



// for test
#define CMD_CS_GET_TEST_ITEM		0x2500
#define CMD_SC_GET_TEST_ITEM		0x2501
#define CMD_CS_TEST					0xBBBB
#define	 CMD_CS_COPY_UPGRADE_STONE	0x2504

////////////////////////////////////////////////////////////////
// SERVER ONLY
////////////////////////////////////////////////////////////////
// 긴급 공지
#define CMD_AS_EMERGENCY_NOTICE		0x9000
#define CMD_SC_EMERGENCY_NOTICE		0x0943
#define	 CMD_AS_RESOURCE_RELOAD		0x9020
#define	 CMD_SA_RESOURCE_RELOAD		0x9021
#define CMD_AS_KICKUSER				0x9022
#define CMD_SA_KICKUSER				0x9023

#define CMD_AS_UPDATE_WORLDBOSS_RANK				0x9024
#define CMD_SA_UPDATE_WORLDBOSS_RANK				0x9025

#define CMD_AS_LOGONOFF				0x9026
#define CMD_SA_LOGONOFF				0x9027

#define CMD_AS_FINDUSER				0x9028
#define CMD_SA_FINDUSER				0x9029

// 배틀 레이턴시 체크
#define CMD_SS_CHECK_BATTLE_LATENCY					0x9010


// 길드
#define CMD_CS_GUILD_MENU_INFO			0x3200
#define CMD_SC_GUILD_MENU_INFO			0x3201

#define CMD_CS_GUILD_BUFF_GACHYA		0x3202
#define CMD_SC_GUILD_BUFF_GACHYA		0x3203

#define CMD_CS_GUILD_POINT_GACHYA		0x3204
#define CMD_SC_GUILD_POINT_GACHYA		0x3205

#define CMD_CS_GUILD_APPLY_ADMISSION	0x3220
#define CMD_SC_GUILD_APPLY_ADMISSION	0x3221

#define CMD_CS_GUILD_LEAVE				0x3222
#define CMD_SC_GUILD_LEAVE				0x3223

#define CMD_CS_GUIlD_LIST				0x3224
#define CMD_SC_GUIlD_LIST				0x3225

#define CMD_CS_GUILD_FIND				0x3226
#define CMD_SC_GUILD_FIND				0x3227

#define CMD_CS_GUILD_MYINFO			0x3228
#define CMD_SC_GUILD_MYINFO			0x3229

//#define CMD_CS_GUILD_INFO				0X03230
//#define CMD_SC_GUILD_INFO				0X03231


#define CMD_CS_GUILD_MEMBER_LIST		0x3240
#define CMD_SC_GUILD_MEMBER_LIST		0x3241

#define CMD_CS_GUILD_GRADE_UP			0x3242
#define CMD_SC_GUILD_GRADE_UP			0x3243

#define CMD_CS_GUILD_CREATE			0x3260
#define CMD_SC_GUILD_CREATE			0x3261

#define CMD_CS_GUILD_NAME_CHECK		0x3262
#define CMD_SC_GUILD_NAME_CHECK		0x3263

//#define CMD_CS_GUILD_JOIN			0X3264
//#define CMD_SC_GUILD_JOIN			0x3265

#define CMD_CS_GUILD_EXILE				0x3268
#define CMD_SC_GUILD_EXILE				0x3269

#define CMD_CS_GUILD_LIST_VIEW_STATE_UPDATE	0x326A
#define CMD_SC_GUILD_LIST_VIEW_STATE_UPDATE	0x326B

#define CMD_CS_GUILD_KEY_UPDATE		0x326C
#define CMD_SC_GUILD_KEY_UPDATE		0x326D

#define CMD_CS_GUILD_DESCRIPTION_UPDATE	0x326E
#define CMD_SC_GUILD_DESCRIPTION_UPDATE	0x326F

#define CMD_CS_GUILD_COOLDOWN		0x3270
#define CMD_SC_GUILD_COOLDOWN		0X3271


/////////////////////////////////
// Commands for encoding
// 인코딩/디코딩을 하지 말아야 하는 커맨드들의 목록
// 키값이 뭐인지는 상관 없음.
/////////////////////////////////
#include <Dispatcher/Session.h>
const int NOTENCODECMDS[] = {
		CMD_OPEN,
		CMD_CLOSE,

		// normal
		CMD_CS_PING,
		CMD_CS_MOVE,
		CMD_SC_MOVE,
		CMD_CS_STOP,
		CMD_SC_STOP,
		CMD_CS_DASH,
		CMD_SC_DASH,
		CMD_SN_REQ_LOCATION,
		CMD_CS_MOVE_MOB,
		CMD_SC_MOVE_MOB,
		CMD_CS_LOCATION_MODIFY,
		CMD_SN_LOCATION_MODIFY,
		CMD_CS_ATTACK_START,
		CMD_SC_ATTACK_START,

		CMD_CS_RECONNECT,
		CMD_SC_RECONNECT,

		// server only cmds
		CMD_SS_CHECK_BATTLE_LATENCY,
};


#endif /* _PROTOCOL_H_ */
